package com.ly.honor.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName bs_goods_appraise
 */
@TableName(value ="bs_goods_appraise")
@Data
public class GoodsAppraise implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 商品id
     */
    @TableField(value = "goods_id")
    private Integer goodsId;

    /**
     * 评价者的id
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 评价内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 层级
     */
    @TableField(value = "level")
    private Integer level;

    /**
     * fu
     */
    @TableField(value = "parent_id")
    private Integer parentId;

    /**
     * 点赞数
     */
    @TableField(value = "fab_num")
    private Integer fabNum;

    /**
     * 回复评价的用户id
     */
    @TableField(value = "reply_user_id")
    private Integer replyUserId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 删除标记
     */
    @TableField(value = "del_flag")
    @TableLogic
    private Integer delFlag;



    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}